<?php defined('SYSPATH') or die('No direct script access.');
/**
* Module Dashboard
*/
class Module_POSHome_Dashboard {
	
	private $ss;
	private $thesystems;
	private $mydatetime;
	private $message;
	
	static function &factory() {
	   $o = new Module_POSHome_Dashboard();
	  return $o;	
	}
	
	public function __construct()
	{
		$this->ss					= Session::instance();
		$this->thesystems	= Helper_theSystems::factory();
		$this->mydatetime	= Helper_MyDateTime::factory();
		$this->message		= Language_Message::factory();
	}
	
	public function showdashboard()
	{
		$userupdate = DB::select()
			->from('users')
			->execute()->as_array();

		$content['title']		= 'Dashboard';
		$content['content']	= View::factory('posinc/dashboard')
			->render();
		
		return $content;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}